import request from '@/utils/request'

export function queryAllImage() {
  return request({
    url: 'rest/api/upload/image',
    method: 'get'
  })
}

export function queryAllImageByType(params) {
  return request({
    url: 'rest/api/upload/image',
    method: 'get',
    params
  })
}
export default { queryAllImage, queryAllImageByType }
